﻿<Window x:Class="SinacorTester.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Sinacor Tester" Height="322" Width="334" Loaded="Window_Loaded">
	<Window.Resources>
		<Storyboard x:Key="Storyboard1">
			<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(FrameworkElement.Margin)">
				<SplineThicknessKeyFrame KeyTime="00:00:00" Value="92,0,90,136"/>
				<SplineThicknessKeyFrame KeyTime="00:00:00.2000000" Value="92,0,90,-9"/>
			</ThicknessAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Storyboard2">
			<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="button1" Storyboard.TargetProperty="(FrameworkElement.Margin)">
				<SplineThicknessKeyFrame KeyTime="00:00:00" Value="92,0,90,-9"/>
				<SplineThicknessKeyFrame KeyTime="00:00:00.2000000" Value="92,0,90,136"/>
			</ThicknessAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="Mouse.PreviewMouseMove" SourceName="button1">
			<BeginStoryboard Storyboard="{StaticResource Storyboard1}" x:Name="Storyboard1_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.PreviewMouseDown" SourceName="button1">
			<BeginStoryboard Storyboard="{StaticResource Storyboard2}" x:Name="Storyboard2_BeginStoryboard"/>
		</EventTrigger>
	</Window.Triggers>
    <Grid>
        <TextBox Height="23" Margin="92,23,66,0" Name="textBox1" VerticalAlignment="Top" TabIndex="1" Text="BMF01"></TextBox>
        <TextBox Height="23" Margin="92,52,66,0" x:Name="textBox2" VerticalAlignment="Top" TabIndex="2" Text="BMF01XX"/>
        <Button Margin="92,0,90,136" IsDefault="True" Name="button1" Click="button1_Click" Height="26" VerticalAlignment="Bottom" TabIndex="4">Open Menu</Button>
        <Label Height="28" HorizontalAlignment="Left" Margin="45,23,0,0" Name="label1" VerticalAlignment="Top" Width="41">User :</Label>
        <Label HorizontalAlignment="Left" Margin="23,52,0,0" Name="label2" Width="63" Height="23" VerticalAlignment="Top">Password:</Label>
        <ComboBox Height="23" Margin="92,81,66,0" Name="comboBox1" VerticalAlignment="Top" SelectedIndex="1" TabIndex="3" />
        <Label Height="23" HorizontalAlignment="Left" Margin="23,81,0,0" Name="label3" VerticalAlignment="Top" Width="63">Company:</Label>
    </Grid>
</Window>
